using System;
using System.Collections.Generic;
using System.Text;

namespace org.ngwt.user.server.rpc.impl
{
    public interface SerializedInstanceReference
    {
        /**
         * @return name of the type
         */
        String Name
        {
            get;
        }

        /**
         * @return signature of the instance reference
         */
        String Signature
        {
            get;
        }
    }

    public class DefaultSerializedInstanceReference : SerializedInstanceReference
    {
        private string _name;
        private string _signature;

        public DefaultSerializedInstanceReference(string name,string signature)
        {
            _name = name;
            _signature = signature;
        }

        public String Name
        {
            get { return _name; }
        }
        public String Signature
        {
            get { return _signature; }
        }


    };

    public class SerializedConstant
    {
        public static char SERIALIZED_REFERENCE_SEPARATOR = '/';

    };
}
